from rest_framework import serializers
from .models import Cate,Good
#
# class BooksSerializers(serializers.ModelSerializer):
#     class Meta:
#         model = Books
#         fields = '__all__'
#
#
class CateSerializers(serializers.ModelSerializer):
    class Meta:
        model = Cate
        fields = '__all__'
class GoodSerializers(serializers.ModelSerializer):
    class Meta:
        model = Good
        fields = '__all__'